<%--
  Created by IntelliJ IDEA.
  User: zuxia
  Date: 2018/7/18
  Time: 11:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>小猪猪餐厅后台</title>
    <link rel="stylesheet" href="css/layui.css">
</head>

<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <div class="layui-header">
            <div class="layui-logo">小猪猪餐厅后台</div>
            <!-- 头部区域（可配合layui已有的水平导航） -->

            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <img src="images/1.gif" class="layui-nav-img"> 管理员
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="">基本资料</a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="">退了</a>
                </li>
            </ul>
        </div>

        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
                <ul class="layui-nav layui-nav-tree" lay-filter="test">
                    <li class="layui-nav-item layui-nav-itemed">
                        <a class="" href="javascript:;">菜单栏</a>
                        <dl class="layui-nav-child">
                            <dd>
                                <a href="food/food.jsp" target="right">菜品</a>
                            </dd>
                            <dd>
                                <a href="foodType/foodType.jsp" target="right">菜品类型</a>
                            </dd>
                            <dd>
                                <a href="order/order.jsp" target="right">订单</a>
                            </dd>
                            <dd>
                                <a href="javascript:void(0)" onclick="updatePwd('修改密码',1)">修改密码</a>
                            </dd>
                        </dl>
                    </li>
                </ul>
            </div>
        </div>

        <div class="layui-body" style="z-index: 0;">
            <!-- 内容主体区域 -->
            <div style="padding: 15px;">
                <iframe src="food/food.jsp" name="right" frameborder="0" width="100%" height="525px"></iframe>
            </div>
        </div>
        <div class="layui-footer"></div>
    </div>
</body>

<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="myplugs/js/plugs.js"></script>
<script src="js/layui.js"></script>

<script type="text/javascript">
    //添加编辑弹出层
    function updatePwd(title, id) {
        $.jq_Panel({
            title: title,
            iframeWidth: 500,
            iframeHeight: 300,
            url: "updatePwd.jsp"
        });
    }
</script>

</html>
